package com.econ.powercloud.ems.common.enums;

/**
 * svg类型枚举
 * @author jwc
 * @since 2023/05/08
 */
public enum SvgTypeEnum implements EnumMethod{
    PRIMARY_WIRING(0, "一次接线图"),
    SKETCH(1, "示意图"),
    WORK_CONDITION(2, "工况图"),
    OTHER(3,"其他"),
    TOP_OF_EMS_WEBSITE(4,"EMS顶部数据"),
    PCS(5,"PCS"),
    TEMPERATURE_CONTROL_SYSTEM(6,"温控系统"),
    AGC(7,"AGC"),
    AVC(8,"AVC"),
    CHARGING_DISCHARGING(9,"充放电计划")
    ;

    private final Integer code;
    private final String desc;

    SvgTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
